package com.server.logs.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.server.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author zgr
 * @since 2023-07-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_logs")
@ApiModel(value = "SysLogs对象", description = "角色表")
public class SysLogs extends BaseEntity {


    private static final long serialVersionUID = -5299114445488769493L;

    @ApiModelProperty("名称 ")
    @TableField("title")
    private String title;

    @ApiModelProperty("提交内容")
    @TableField("content")
    private String content;

    @ApiModelProperty("操作IP地址")
    @TableField("remote_ip")
    private String remoteIp;

    @ApiModelProperty("服务器名")
    @TableField("server_host")
    private String serverHost;

    @ApiModelProperty("服务器IP地址")
    @TableField("server_ip")
    private String serverIp;

    @ApiModelProperty("服务器环境")
    @TableField("env")
    private String env;

    @ApiModelProperty("请求URI")
    @TableField("request_uri")
    private String requestUri;

    @ApiModelProperty("方法类")
    @TableField("method_class")
    private String methodClass;

    @ApiModelProperty("方法名")
    @TableField("method_name")
    private String methodName;

    @ApiModelProperty("操作提交的数据")
    @TableField("params")
    private String params;

}
